import React, { Component } from 'react'
import { View, Image, TouchableHighlight } from 'react-native'
import { Provider } from 'react-redux'
import thunk from 'redux-thunk'
import { createStore, applyMiddleware } from 'redux'

import configureStore from './store/configureStore'
//import APP from './app'
import AppRouter from './containers/Router'

const store = configureStore()

export default () => (
  <Provider store={store}>
    <AppRouter/>
  </Provider>
)
